package fr.pascal.entities;

import java.util.Date;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue(value = "GSM")
public class AbonnementGsm extends Abonnement {

	private static final long serialVersionUID = 5788030828821594089L;

	private int fidelio;
	
	public AbonnementGsm() {
	}
	
	public AbonnementGsm(Date dateAbonnement, double solde, boolean actif,
			int fidelio) {
		super(dateAbonnement, solde, actif);
		this.fidelio = fidelio;
	}

	public int getFidelio() {
		return fidelio;
	}

	public void setFidelio(int fidelio) {
		this.fidelio = fidelio;
	}
}
